import axios from 'axios';

function getCat() {
  return axios.get('https://aws.random.cat/meow').then(res=>{
    return {
      imageSrc: res.data.file,
      text: 'CAT'
    }
  })
}

export default {
  getCat
}